package com.zqxq.lottery.mapper.esports;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.zqxq.lottery.entity.po.esports.ESportsPO;
import com.zqxq.lottery.entity.vo.esports.ESportsPlaywayVO;
import com.zqxq.lottery.entity.vo.esports.ESportsTitleVO;
import com.zqxq.lottery.entity.vo.esports.ESportsVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component(value = "eSportsMapper")
public interface ESportsMapper extends BaseMapper<ESportsPO> {

    List<ESportsTitleVO> getESportsTitleList(@Param("type") Integer type);

    List<ESportsVO> getESportsHomeList(Page<ESportsVO> page, @Param("typeList") List<Integer> type);

    List<ESportsPlaywayVO> getPlaywayListByMatchId(@Param("matchId") String matchId,@Param("round") String round);

    List<ESportsPlaywayVO> getPlaywayListByMatchId2(@Param("matchId") String matchId,@Param("round") String round);
}
